package com.zy.datareceiver.binsess.monitoring.mapper;

import com.zy.datareceiver.binsess.monitoring.entity.MonitoringData;
import org.apache.ibatis.annotations.Param;
import org.springframework.cache.annotation.CachePut;

import java.util.List;

public interface MonitoringDataMapper {
    int batchInsert(@Param("list") List<MonitoringData> list);

    @CachePut("p0")
    List<MonitoringData> getDataByPointName(@Param("pointName") String pointName);
}